<template>
  <hc-switch
    v-model="value1"
    class="mb-2"
    active-text="Pay by month"
    inactive-text="Pay by year"
  />
  <br />
  <hc-switch
    v-model="value2"
    class="mb-2"
    style="--hc-switch-on-color: #13ce66; --hc-switch-off-color: #ff4949"
    active-text="Pay by month"
    inactive-text="Pay by year"
  />
  <br />
  <hc-switch
    v-model="value3"
    inline-prompt
    active-text="是"
    inactive-text="否"
  />
  <hc-switch
    v-model="value4"
    class="ml-2"
    inline-prompt
    style="--hc-switch-on-color: #13ce66; --hc-switch-off-color: #ff4949"
    active-text="Y"
    inactive-text="N"
  />
  <hc-switch
    v-model="value6"
    class="ml-2"
    width="60"
    inline-prompt
    active-text="超出省略"
    inactive-text="超出省略"
  />
  <hc-switch
    v-model="value5"
    class="ml-2"
    inline-prompt
    style="--hc-switch-on-color: #13ce66; --hc-switch-off-color: #ff4949"
    active-text="完整展示多个内容"
    inactive-text="多个内容"
  />
</template>

<script lang="ts" setup>
import { ref } from 'vue'

const value1 = ref(true)
const value2 = ref(true)
const value3 = ref(true)
const value4 = ref(true)
const value5 = ref(true)
const value6 = ref(true)
</script>
